package com.molichuxing.gateway.bff.orders.services;

import com.molichuxing.framework.exception.BizException;
import com.molichuxing.framework.service.RootService;
import com.molichuxing.gateway.bff.orders.entity.request.modify.ReportModifyVo;
import com.molichuxing.gateway.bff.orders.entity.request.modify.ReturnCarModifyVo;
import com.molichuxing.gateway.bff.orders.entity.response.CheckReportVo;
import com.molichuxing.gateway.bff.orders.entity.response.ReportVo;
import com.molichuxing.gateway.bff.orders.entity.response.ReturnCarResultVo;

/**
 * 订单还车bff
 *
 * @author zoumingyu
 * @date 2019年9月19日
 */
public interface OrderReturnBffService extends RootService {

    /**
     * 验车报告确认
     *
     * @param modifyVo
     * @return
     * @throws BizException
     * @throws Exception
     */
    public ReportVo modifyReportConfirm(ReportModifyVo modifyVo) throws BizException, Exception;

    /**
     * 验车报告查看
     *
     * @param orderCode
     * @return
     */
    public CheckReportVo getCheckReport(Long orderCode);

	/**
	 * 订单还车
	 * 
	 * @param modifyVo
	 * @return
	 */
	public ReturnCarResultVo modifyReturnCar(ReturnCarModifyVo modifyVo) throws BizException, Exception;

	/**
	 * 查询订单还车结果
	 * 
	 * @param orderCode
	 *            订单号
	 * @return
	 */
	public ReturnCarResultVo getReturnCarResult(Long orderCode);
}
